package com.itheima.tlias.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class SelectEmpDTO {
    private int id;
    private String name;
    private int gender;
    private String image;
    private String deptName;
    private Integer job;
    private Integer salary;
    @JsonFormat(pattern = "yyyy年MM月dd日")
    private LocalDate entryDate;
    @JsonFormat(pattern = "yyyy年MM月dd日 HH:mm:ss")
    private LocalDateTime updateTime;
}
